package project

import (
	"context"
	"hotgo/internal/service"

	"hotgo/api/project/v1"
)

func (c *ControllerV1) Publish(ctx context.Context, req *v1.PublishReq) (res *v1.PublishRes, err error) {
	err = service.AdminProject().Publish(ctx, &req.ProjectPublishInp)
	return
}
